﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zhaoxi.AdvancedCourse.Attrs
{
    //定义自定义特性类：以Attribute结尾，继承于Attribute基类
    [AttributeUsage(AttributeTargets.Class|AttributeTargets.Property|AttributeTargets.Method|AttributeTargets.Field)]
    public class RemarkAttribute:Attribute
    {
        public string Description { get; set; }
        public RemarkAttribute(string desp) 
        {
           Description= desp;
        }
    }
}
